*{
    margin: 0;
    padding: 0;
}

body{
    font-size: 18px;
    font-family: 'Simsun';
}

.nav{
    width: 15%;
    height: 100vh;
    background-color: #F1F4F9;
    position: fixed;
    left: 0;
    top: 0;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    z-index: 100;
    border-top-right-radius: 15px;
    overflow: hidden;
}

.nav a{
    text-decoration: none;
    color: #000;
    font-size: 20px;
}
    

.nav .logo{
    width: 100%;
    height: 80px;
    position: absolute;
    top: 5px;
    left: 5px;
}

.nav .logo img{
    height: 80px;
    position: absolute;
    left: 5px;
    top: 5px;
}

.nav .logo p{
    padding-left: 15px;
    font-size: 30px;
    font-family: 'Simsun';
    line-height: 80px;
    width: 30%;
    height: 100%;
    position: absolute;
    top: 5px;
    left: 80px;
}

.nav .show{
    width: 30%;
    height: 50px;
    position: absolute;
    right: 10px;
    top: 10px;
}

.show svg{
    width: 30px;
    height: 30px;
    position: absolute;
    top: 22px;
    right: 10px;
    background-color: #dbdbdb;
    border-radius: 5px;
    padding: 2px;
}

.show .unfold-icon{
    display: none;
}

.nav .content{
    width: 100%;
    height: 250px;
    position: absolute;
    top: 170px;
    left: 0;
    overflow: hidden;
}

.content div{
    width: 100%;
    height: 50px;
    margin-bottom: 15px;
    padding-left: 40px;
}

.content div:hover{
    background-color: #E7F2FF;
}

.content .search{
    background-color: #4a75f55a;
}

.content .feedback{
    background-color: transparent;
}

.content .feedback:hover{
    background-color: #E7F2FF;
}


.content svg{
    width: 30px;
    height: 30px;
    padding-top: 5px;
    padding-left: 5px;
}

.content p{
    width: 60%;
    height: 50px;
    font-size: 17px;
    font-family: 'Simsun';
    line-height: 50px;
    float: right;
    margin-right: 40px;
}

.nav .manage{
    width: 100%;
    height: 70px;
    position: absolute;
    top: 550px;
    padding-left: 20px;
}

.nav .manage:hover{
    background-color: #E7F2FF;
}

.manage label{
    width: 80%;
    height: 50px;
}

.manage svg{
    width: 30px;
    height: 30px;
    padding-top: 15px;
    padding-left: 15px;
}

.manage a{
    text-decoration: none;
    color: #000;
    font-size: 18px;
}

.nav .exit{
    width: 100%;
    height: 60px;
    position: absolute;
    bottom: 10px;
    padding-left: 20px;
}

.nav .exit:hover{
    background-color: #E7F2FF;
}

.exit svg{
    width: 40px;
    height: 40px;
    padding-top: 15px;
    margin-left: 10px;
}

.exit p{
    float: right;
    margin-right: 100px;
    height: 70px;
    line-height: 70px;
}

.main{
    width: 80%;
    position: absolute;
    top: 0;
    right: 0;
}

.main .inform{
    width: 110px;
    height: 40px;
    position: absolute;
    top: 10px;
    right: 10px;
}

.inform svg{
    width: 25px;
    height: 25px;
}

.main .name{
    width: 50%;
    height: 120px;
    position: absolute;
    top: 100px;
    left: 250px;
}

.name p{
    height: 40px;
    font-size: 35px;
    line-height: 40px;
}

.main .model{
    width: 220px;
    height: 50px;
    position: absolute;
    top: 220px;
    left: 500px;
}

.model button{
    width: 100px;
    height: 40px;
    background-color: #E7F2FF;
    border: 0;
    border-radius: 5px;
    font-size: 20px;
    font-family: 'Simsun';
    cursor: pointer;
}

.model .sel-model{
    width: 1070px;
    height: 500px;
    background-color: #fff;
    border: 0;
    border-radius: 10px;
    z-index: 3;
    position: absolute;
    top: -130px;
    left: -500px;
    overflow-y: auto;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.sel-model .search{
    position: absolute;
    top: 10px;
    left: 30%;
    margin-bottom: 100px;
}

.sel-model .search input{
    width: 300px;
    height: 40px;
    padding-left: 10px;
    border-radius: 10px;
}

.sel-model .exit-mod{
    position: absolute;
    top: 10px;
    right: 10px;
}

.exit-mod svg{
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.sel-model .option-card{
    margin-top: 80px;
    margin-left: 60px;
}

.sel-model .mod{
    width: 350px;
    height: 60px;
    background-color: #e3f2fd;
    display: inline-block;
    margin: 25px;
    margin-right: 50px;
    border: 0;
    border-radius: 10px;
}

.sel-model .mod svg{
    width: 50px;
    height: 50px;
    margin-left: 10px;
    float: left;
    margin-top: 5px;
}

.sel-model .mod p{
    width: 150px;
    height: 60px;
    float: left;
    line-height: 60px;
    font-size: 20px;
    font-family: 'Simsun';
    margin-left: 30px;
    font-weight: 600;
}

.sel-model .mod input[type='checkbox']{
    width: 20px;
    height: 20px;
    float: right;
    margin-right: 20px;
    margin-top: 20px;
}

.sel-model .yes{
    position: absolute;
    top: 50%;
    right: 50px;
}

.sel-model .yes button{
    width: 80px;
    height: 40px;
    background-color: #E7F2FF;
    border: 0;
    border-radius: 5px;
    font-size: 20px;
    font-family: 'Simsun';
    cursor: pointer;
    color: #000;
}


.model select{
    background-color: #E7F2FF;
    width: 100px;
    height: 40px;
    font-size: 20px;
    font-family: 'Simsun';
    border: 0;
    border-radius: 5px;
    text-align: center;
}

.model select option{
    background-color: #fff;
}

.main .dialog{
    width: 700px;
    height: 124px;
    max-height: 500px;
    position: absolute;
    top: 250px;
    left: 250px;
    border: 2px solid #e6e6e6;
    border-radius: 20px;
    box-sizing: border-box;
    padding: 10px;
}

.dialog textarea{
    width: 90%;
    height: 60px;
    max-height: 500px;
    resize: none;
    font-family: 'Simsun';
    font-size: 18px;
    border: 0;
}

.dialog textarea:focus{
    outline: none;
}

.dialog svg{
    width: 30px;
    height: 30px;
}

.dialog .set-model{
    width: 100px;
    height: 40px;
    position: absolute;
    bottom: 7px;
    left: 10px;
    background-color: #e3f2fd;
    border-radius: 20px;
}

.set-model button{
    width: 50px;
    height: 30px;
    border: none;
    background-color: #e3f2fd;
    font-size: 18px;
    line-height: 30px;
    font-family: 'Simsun';
    position: relative;
    top: -5px;
}

.set-model svg{
    position: relative;
    top: 5px;
    left: 5px;
}

.dialog .attachment-icon{
    width: 20px;
    height: 20px;
    position: absolute;
    top: 90px;
    right: 80px;
}

.dialog .send-icon{
    width: 20px;
    height: 20px;
    position: absolute;
    top: 90px;
    right: 30px;
    cursor: pointer;
}

.main .result-content{
    width: 50%;
    height: 500px;
    position: absolute;
    top: 30px;
    left: 50%;
    margin-left: -400px;
    padding-top: 15px;
    padding-left: 50px;
    padding-right: 50px;
    overflow-y: auto;
}

.result-content .res-con{
    transition: 0.5s;
    display: flex;
    overflow-y: auto;
    flex-direction: column;
    overflow-x: visible;
}

.result-content .res-con p{
    line-height: 20px;
}

.result-content .message{
    margin-bottom: 15px;
    padding: 10px 25px;
    border-radius: 8px;
    max-width: 90%;
    word-wrap: break-word;
    overflow-x: visible;
    margin-left: 50px;
}

.result-content .user-message {
    background-color: #e3f2fd;
    align-self: flex-end;
    margin-left: auto;
}

.result-content .bot-message {
    background-color: #f5feff;
    align-self: flex-start;

}

.res-con svg{
    width: 40px;
    height: 40px;
    float: left;
    z-index: 200;
    margin-bottom: -50px;
    background-color: #c9e6fb;
    border-radius: 50%;
}

/* UDP通知样式 */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.udp-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 10000;
    max-width: 400px;
    animation: slideInRight 0.3s ease;
}

.notification-content {
    padding: 16px;
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.notification-title {
    font-weight: bold;
    color: #333;
    font-size: 14px;
}

.notification-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-close:hover {
    color: #333;
}

.notification-body {
    color: #666;
    font-size: 13px;
    line-height: 1.4;
}


